<?php
//run a select query to get the latest items
require("storescripts/config.php");
require("storescripts/gallery_script.php");
require("storescripts/cart_script.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Luvo Fashion</title>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" />
 <link type="text/css" href="css/movingboxes.css" media="screen" charset="utf-8" rel="stylesheet"  />
<script src="js/jquery-1.4.1.min.js" type="text/javascript"></script>	
<script type="text/javascript" src="js/jquery.movingboxes.js" charset="utf-8"></script>
<script type="text/javascript" src="js/gallery-movingboxes.js"></script>

</head>
<body>
<!-- Shell -->
<div class="shell">
  <!-- Header -->
  <div id="header">
    <h1 id="logo"><a href="index.php">Luvo Fashion</a></h1>
    <!-- Cart -->
    <div id="cart"> <a href="cart.php" class="cart-link">Your Shopping Cart</a>
      <div class="cl">&nbsp;</div>
      <span>Articles: <strong><?php echo $cartArticles;?></strong></span> &nbsp;<span><strong><?php echo $cartTotal;?></strong></span>
	</div>
    <!-- End Cart -->
    <!-- Navigation -->
    <div id="navigation">
      <ul>
        <li><a href="index.php">Home</a></li>
		<li><a href="gallery.php" class="active">Gallery</a></li>
        <li><a href="about_us.php">About Us</a></li>
        <li><a href="faq.php">FAQ</a></li>
        <li><a href="contact.php">Contact</a></li>
		<li><a href="account.php">My Account</a></li>
      </ul>
    </div>
    <!-- End Navigation -->
</div>
  <!-- End Header -->
  <!-- Main -->
  <div id="main">
    <div class="cl">&nbsp;</div>
    <!-- Content -->
    <div id="content">
    <h2><?php echo $_GET['subcat'];?></h2>
    <br />
	<?php print_list();?>
    </div>
    <!-- End Content -->
    <!-- Sidebar -->
    <div id="sidebar">
      <!-- Categories -->
      <div class="box categories">
        <h2>Categories<span></span></h2>
        <div class="box-content">
          <ul>
            <li>MEN's</li>
            <li><a href='gallery.php?cat=men&subcat=clothing'>Clothes</a></li>
			<li><a href='gallery.php?cat=men&subcat=shoes'>Shoes</a></li>
            <li><a href='gallery.php?cat=men&subcat=bags'>Bags</a></li>
            <li><a href='gallery.php?cat=men&subcat=accessories'>Accessories</a></li>
            <li>WOMEN's</li>
			<li><a href='gallery.php?cat=women&subcat=clothing'>Clothes</a></li>
            <li><a href='gallery.php?cat=women&subcat=shoes'>Shoes</a></li>
            <li><a href='gallery.php?cat=women&subcat=bags'>Bags</a></li>
            <li class="last"><a href='gallery.php?cat=women&subcat=accessories'>Accessories</a></li>
          </ul>
        </div>
      </div>
      <!-- End Categories -->
    </div>
    <!-- End Sidebar -->
    <div class="cl">&nbsp;</div>
  </div>
  <!-- End Main -->
  <!-- Footer -->
  <?php include_once("template_footer.php"); ?>
  <!-- End Footer -->
</div>
<!-- End Shell -->
</body>
</html>
